package com.jiefeng.manager.table;

import java.util.Date;

/**
 * Created by huangtongshuan on 2016/5/15 19:16.
 */
public class RefundOrderInfo {
    private int id;
    private String merchantId;// 商户代码
	private String subMerchantId;// 子商户号
	private String oldOrderNo;// 原扣款订单
    private String oldoRderReqNo;// 原支付请求流水
	private String refundOrderNo;// todo 退款订单号 没啥用
	private String refundReqNo; // 退款流水
    private Date  refundReqDate; // 退款请求日期
	private String transAmt; // 退款交易金额
	private String ledgerDetail; // 分账明细
	private int payType;// 退款类型
	private String channel;// 渠道
    private int status;  // 订单状态 0初始化,1 处理中 2.完成 3.失败
    
	
    private String merchantPwd;// 商户调用密码    
    private String mac;// Mac校验预
    
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getRefundOrderNo() {
        return refundOrderNo;
    }

    public void setRefundOrderNo(String refundOrderNo) {
        this.refundOrderNo = refundOrderNo;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getSubMerchantId() {
        return subMerchantId;
    }

    public void setSubMerchantId(String subMerchantId) {
        this.subMerchantId = subMerchantId;
    }

    public String getMerchantPwd() {
        return merchantPwd;
    }

    public void setMerchantPwd(String merchantPwd) {
        this.merchantPwd = merchantPwd;
    }

    public String getOldOrderNo() {
        return oldOrderNo;
    }

    public void setOldOrderNo(String oldOrderNo) {
        this.oldOrderNo = oldOrderNo;
    }

    public String getOldoRderReqNo() {
        return oldoRderReqNo;
    }

    public void setOldoRderReqNo(String oldoRderReqNo) {
        this.oldoRderReqNo = oldoRderReqNo;
    }

    public String getRefundReqNo() {
        return refundReqNo;
    }

    public void setRefundReqNo(String refundReqNo) {
        this.refundReqNo = refundReqNo;
    }


    public Date getRefundReqDate() {
        return refundReqDate;
    }

    public void setRefundReqDate(Date refundReqDate) {
        this.refundReqDate = refundReqDate;
    }

    public String getTransAmt() {
        return transAmt;
    }

    public void setTransAmt(String transAmt) {
        this.transAmt = transAmt;
    }

    public String getLedgerDetail() {
        return ledgerDetail;
    }

    public void setLedgerDetail(String ledgerDetail) {
        this.ledgerDetail = ledgerDetail;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    @Override
    public String toString() {
        return "RefundOrderInfo{" +
                "merchantId='" + merchantId + '\'' +
                ", refundOrderNo='" + refundOrderNo + '\'' +
                ", status='" + status + '\'' +
                ", subMerchantId='" + subMerchantId + '\'' +
                ", merchantPwd='" + merchantPwd + '\'' +
                ", oldOrderNo='" + oldOrderNo + '\'' +
                ", oldoRderReqNo='" + oldoRderReqNo + '\'' +
                ", refundReqNo='" + refundReqNo + '\'' +
                ", refundReqDate='" + refundReqDate + '\'' +
                ", transAmt='" + transAmt + '\'' +
                ", ledgerDetail='" + ledgerDetail + '\'' +
                ", channel='" + channel + '\'' +
                ", mac='" + mac + '\'' +
                ", payType='" + payType + '\'' +
                '}';
    }
}
